import request from '@/utils/request'

// 查询参与筛查人员信息列表
export function listCheckperson(query) {
  return request({
    url: '/system/checkperson/list',
    method: 'get',
    params: query,
  })
}

// 查询参与筛查人员信息详细
export function getCheckperson(id) {
  return request({
    url: '/system/checkperson/' + id,
    method: 'get',
  })
}

// 新增参与筛查人员信息
export function addCheckperson(data) {
  return request({
    url: '/system/checkperson',
    method: 'post',
    data: data,
  })
}

// 修改参与筛查人员信息
export function updateCheckperson(data) {
  return request({
    url: '/system/checkperson',
    method: 'put',
    data: data,
  })
}

// 删除参与筛查人员信息
export function delCheckperson(id) {
  return request({
    url: '/system/checkperson/' + id,
    method: 'delete',
  })
}
